package com.itheima.d17_dianqi;

// 电视类
public class Television extends Electrical{
    private String screen_size;     // 屏幕尺寸
    private String  resolving_power; // 分辨率

    public Television() {
    }

    public Television(String brand, String type, String color, String sales) {
        super(brand, type, color, sales);
    }

    public Television(String screen_size, String resolving_power) {
        this.screen_size = screen_size;
        this.resolving_power = resolving_power;
    }

    public Television(String brand, String type, String color, String sales, String screen_size, String resolving_power) {
        super(brand, type, color, sales);
        this.screen_size = screen_size;
        this.resolving_power = resolving_power;
    }

    public String getScreen_size() {
        return screen_size;
    }

    public void setScreen_size(String screen_size) {
        this.screen_size = screen_size;
    }

    public String getResolving_power() {
        return resolving_power;
    }

    public void setResolving_power(String resolving_power) {
        this.resolving_power = resolving_power;
    }
}
